package com.Cheng.dao;

import com.Cheng.pojo.Outcome;

import java.util.List;

/**
 * @Author Cheng
 * @Date 2022/4/10 14:47
 *
 */
public interface OutcomeMapper {
        //增加一本书
    int addOutcome(Outcome outcome);
        //删除一本书
    int deleteOutcomeById( int id);
        //更新一本书
    int updateOutcome(Outcome outcome);
        //查询一本书
    Outcome queryOutcomeById( int id);
        //查询全部的书
    List<Outcome> queryAllOutcome();
}
